# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ventanaArticulo.ui'
#
# Created: Thu Apr 19 00:31:21 2012
#      by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(414, 423)
        self.widget = QtGui.QWidget(Form)
        self.widget.setGeometry(QtCore.QRect(11, 14, 390, 396))
        self.widget.setObjectName(_fromUtf8("widget"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.widget)
        self.verticalLayout_5.setMargin(0)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.labelTitulo = QtGui.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(28)
        self.labelTitulo.setFont(font)
        self.labelTitulo.setAlignment(QtCore.Qt.AlignCenter)
        self.labelTitulo.setObjectName(_fromUtf8("labelTitulo"))
        self.verticalLayout_5.addWidget(self.labelTitulo)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_4 = QtGui.QLabel(self.widget)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.verticalLayout.addWidget(self.label_4)
        self.spinCodigo = QtGui.QSpinBox(self.widget)
        self.spinCodigo.setMinimum(1)
        self.spinCodigo.setObjectName(_fromUtf8("spinCodigo"))
        self.verticalLayout.addWidget(self.spinCodigo)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label = QtGui.QLabel(self.widget)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_4.addWidget(self.label)
        self.campoNombre = QtGui.QLineEdit(self.widget)
        self.campoNombre.setObjectName(_fromUtf8("campoNombre"))
        self.verticalLayout_4.addWidget(self.campoNombre)
        self.horizontalLayout.addLayout(self.verticalLayout_4)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_2 = QtGui.QLabel(self.widget)
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_2.addWidget(self.label_2)
        self.spinPrecio = QtGui.QSpinBox(self.widget)
        self.spinPrecio.setMinimum(1)
        self.spinPrecio.setMaximum(999999)
        self.spinPrecio.setObjectName(_fromUtf8("spinPrecio"))
        self.verticalLayout_2.addWidget(self.spinPrecio)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.label_3 = QtGui.QLabel(self.widget)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_3.addWidget(self.label_3)
        self.spinStock = QtGui.QSpinBox(self.widget)
        self.spinStock.setMinimum(1)
        self.spinStock.setMaximum(999999)
        self.spinStock.setObjectName(_fromUtf8("spinStock"))
        self.verticalLayout_3.addWidget(self.spinStock)
        self.horizontalLayout.addLayout(self.verticalLayout_3)
        self.verticalLayout_5.addLayout(self.horizontalLayout)
        self.labelError = QtGui.QLabel(self.widget)
        self.labelError.setObjectName(_fromUtf8("labelError"))
        self.verticalLayout_5.addWidget(self.labelError)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem = QtGui.QSpacerItem(58, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.botonActualizar = QtGui.QPushButton(self.widget)
        self.botonActualizar.setObjectName(_fromUtf8("botonActualizar"))
        self.horizontalLayout_2.addWidget(self.botonActualizar)
        self.botonAgregar = QtGui.QPushButton(self.widget)
        self.botonAgregar.setObjectName(_fromUtf8("botonAgregar"))
        self.horizontalLayout_2.addWidget(self.botonAgregar)
        self.verticalLayout_5.addLayout(self.horizontalLayout_2)
        self.treeWidget = QtGui.QTreeWidget(self.widget)
        self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
        self.verticalLayout_5.addWidget(self.treeWidget)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        spacerItem1 = QtGui.QSpacerItem(58, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.pushButton_3 = QtGui.QPushButton(self.widget)
        self.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))
        self.horizontalLayout_3.addWidget(self.pushButton_3)
        self.pushButton_2 = QtGui.QPushButton(self.widget)
        self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
        self.horizontalLayout_3.addWidget(self.pushButton_2)
        self.verticalLayout_5.addLayout(self.horizontalLayout_3)
        self.label_4.setBuddy(self.spinCodigo)
        self.label.setBuddy(self.campoNombre)
        self.label_2.setBuddy(self.spinPrecio)
        self.label_3.setBuddy(self.spinStock)

        self.retranslateUi(Form)
        QtCore.QObject.connect(self.botonAgregar, QtCore.SIGNAL(_fromUtf8("clicked()")), Form.agregar)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL(_fromUtf8("clicked()")), Form.editar)
        QtCore.QObject.connect(self.pushButton_3, QtCore.SIGNAL(_fromUtf8("clicked()")), Form.eliminar)
        QtCore.QObject.connect(self.botonActualizar, QtCore.SIGNAL(_fromUtf8("clicked()")), Form.guardar)
        QtCore.QMetaObject.connectSlotsByName(Form)
        Form.setTabOrder(self.spinCodigo, self.campoNombre)
        Form.setTabOrder(self.campoNombre, self.spinPrecio)
        Form.setTabOrder(self.spinPrecio, self.spinStock)
        Form.setTabOrder(self.spinStock, self.botonActualizar)
        Form.setTabOrder(self.botonActualizar, self.botonAgregar)
        Form.setTabOrder(self.botonAgregar, self.treeWidget)
        Form.setTabOrder(self.treeWidget, self.pushButton_3)
        Form.setTabOrder(self.pushButton_3, self.pushButton_2)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Articulos - Indigo", None, QtGui.QApplication.UnicodeUTF8))
        self.labelTitulo.setText(QtGui.QApplication.translate("Form", "Nuevo Articulo - Indigo", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Form", "Codigo", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Form", "Nombre", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Form", "Precio", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Form", "Stock", None, QtGui.QApplication.UnicodeUTF8))
        self.labelError.setText(QtGui.QApplication.translate("Form", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.botonActualizar.setText(QtGui.QApplication.translate("Form", "Actualizar", None, QtGui.QApplication.UnicodeUTF8))
        self.botonAgregar.setText(QtGui.QApplication.translate("Form", "Agregar", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(0, QtGui.QApplication.translate("Form", "ID", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(1, QtGui.QApplication.translate("Form", "Nombre", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(2, QtGui.QApplication.translate("Form", "Precio", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(3, QtGui.QApplication.translate("Form", "Stock", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_3.setText(QtGui.QApplication.translate("Form", "Eliminar", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_2.setText(QtGui.QApplication.translate("Form", "Editar", None, QtGui.QApplication.UnicodeUTF8))

